<?php
		$kboy_userid = $_SESSION['kboy_userid'];
		$kboy_user = $_SESSION['kboy_user'];
?>
	<div class="header-ss">
		<div class="juzhong">
	
			<h1 class="logo">
			<a href="index.php">
				<img src="images/logo.png" alt=""/>
			</a></h1>
			<div class="top_ads">
				<span class="ivv">
					<img src="images/top_pic1.png" alt=""/>
				</span>
				<span class="cva">
					<img src="images/top_pic2.png" alt=""/>
				</span>
				<span class="ads">
					<img src="images/top_pic3.gif" alt=""/>
				</span>
			</div>
	
			<div class="search-box">
				<form name="SearchForm" id="SearchForm" method="post" action="active_search.php">
	
					<input type="text" class="search-text input_wby" value="搜索目的地/活动" name="search_text"/>
	
					<input type="submit" class="search-send" value="搜索"/>
	
				</form>
	
			</div>
	
		</div>
	</div>
    <div class="header-wrap">
        <div class="header">
            <div class="content">
                
                <div class="nav">
                    <ul class="nav-list">
                        <li><a href="index.php"><span>首页</span></a></li>
                        <li>
                            <a href="active.php"><span>活动</span><i></i></a>
                            <div class="er_nav_wrap">
                                <div class="er_nav">
                                	<?php
									$bigclass_sql = "select * from kboy_bigclass where pid=134 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo "<a href=\"".$bigclass_rs['bigclass_urls']."\">".$bigclass_rs['bigclass_cn']."</a>";
									}
							?>
                                    <em><img src="images/rect1.png" width="21" height="10" alt=""></em>
                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="news.php?classid=6"><span>资讯</span><i></i></a>
                            <div class="er_nav_wrap">
                                <div class="er_nav">
							<?php
									$bigclass_sql = "select * from kboy_bigclass where pid=5 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo "<a href=\"".$bigclass_rs['bigclass_urls']."\">".$bigclass_rs['bigclass_cn']."</a>";
									}
							?>
                                    <em><img src="images/rect1.png" width="21" height="10" alt=""></em>
                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="bbs.php"><span>社区</span><i></i></a>
                            <div class="er_nav_wrap">
                                <div class="er_nav">
								<?php
										if(empty($kboy_userid)){
											echo "<a href=\"login.php\">我的社区</a>";
											echo "<a href=\"bbs.php\" class=\"last\">社区论坛</a>";
										}else{
											echo "<a href=\"forum_news.php?uid=$kboy_userid\">我的社区</a>";
											echo "<a href=\"bbs.php\" class=\"last\">社区论坛</a>";
										}
								?>
                                    <em><img src="images/rect1.png" width="21" height="10" alt=""></em>
                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="trailivv.php"><span>步道/足迹</span><i></i></a>
                            <div class="er_nav_wrap">
                                <div class="er_nav">
							<?php
									$bigclass_sql = "select * from kboy_bigclass where pid=60 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo "<a href=\"".$bigclass_rs['bigclass_urls']."\">".$bigclass_rs['bigclass_cn']."</a>";
									}
							?>
                                    <em><img src="images/rect1.png" width="21" height="10" alt=""></em>
                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="ivv_about.php"><span>IVV/CVA</span><i></i></a>
                            <div class="er_nav_wrap">
                                <div class="er_nav">
							<?php
									$bigclass_sql = "select * from kboy_bigclass where pid=69 order by bigclass_order asc, id asc";
									$bigclass_rows = mysql_query($bigclass_sql);
									while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
										echo "<a href=\"".$bigclass_rs['bigclass_urls']."\">".$bigclass_rs['bigclass_cn']."</a>";
									}
							?>
                                    <em><img src="images/rect1.png" width="21" height="10" alt=""></em>
                                </div>
                            </div>
                        </li>
                        <li>
                            <a href="zhiyuanzhe.php"><span>志愿者联盟</span></a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
<a target="_blank" class="qqkefu" href="http://wpa.qq.com/msgrd?v=3&uin=313175094&site=qq&menu=yes" style="position: fixed;top: 35%;right: 0;z-index: 1000;"><img border="0" src="./images/QQ2.gif" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>